Working with files and directories
See also
file_selector()
func copy_file( sequence file1, sequence file2 )
func remove_file( sequence file )
func rmdir( sequence directory )
func wx_mkdir( object directory, object perm, atom flags )
func wx_rmdir( object directory )
Subtopics:
wxDir
wxDirTraverser
[func]
copy_file ( sequence file1, sequence file2 )
Returns: An integer which will be 1 if successful, 0 if unsuccessful.
Category: Files
File1 is the file to be copied and File2 is the file that will be made.
If you are using Windows, use \\ instead of .
You may NOT
- Create a new directory with it.
- Copy one directory to another.
You may
- Copy something and give it a name ( ex : C:\\EUPHORIA\\INCLUDE\\wxEuphoria.e,C:\\EUPHORIA\\INCLUDE\\wxUforiuh.K )
- Have spaces between each \\ or 'marks C:\\Documents and Settings\\'
- Have incorrect caps ( 'C:\\DoCuMeNtS aNd SeTtInGs\\' will still work. )
See Also:
remove_file,
rmdir,
wx_mkdir,
wx_rmdir
Category: Files
Removes (deletes) the specified file, returns true if successful.
See Also:
copy_file,
rmdir,
wx_mkdir,
wx_rmdir
[func]
rmdir ( sequence directory )
Category: Files
Deletes the specified directory from the file system.
See Also:
copy_file,
remove_file,
wx_mkdir,
wx_rmdir
[func]
wx_mkdir ( object directory, object perm, atom flags )
Category: Files
See Also:
copy_file,
remove_file,
rmdir,
wx_rmdir
Category: Files
See Also:
copy_file,
remove_file,
rmdir,
wx_mkdir